package com.pxmeta.party.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pxmeta.party.entity.ActivityAdAstra;
import com.pxmeta.party.entity.ActivityFoodStall;
import com.pxmeta.party.entity.dto.ActivityAdAstraDTO;
import com.pxmeta.party.entity.vo.ActivityAdAstraDataHistoryVO;
import com.pxmeta.party.entity.vo.ActivityAdAstraDataStatisticsItemVO;
import com.pxmeta.party.entity.vo.ActivityAdAstraDataStatisticsVO;

import java.util.List;

public interface IActivityAdAstraService extends IService<ActivityAdAstra> {

    /**
     * 确认派遣
     * @param list
     */
    ActivityAdAstra confirmDispatch(Long userId, List<ActivityAdAstraDTO> list);

    List<ActivityAdAstra> getStarList(Long userId);

    IPage<ActivityAdAstra> getStarList(Integer page, Integer size);

    void buyShip(Long userId, Integer count, String partyId);

    List<ActivityAdAstraDataHistoryVO> getDataList(Integer page, Integer size);

    List<ActivityAdAstra> getStarOverdueCount();

    List<ActivityAdAstraDataStatisticsVO> getDataStatistics();

    List<ActivityAdAstraDataStatisticsItemVO> getDataStatisticsDetail(Long id);
}
